/* 使页面内所有文字不可选中 */
* {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard syntax */
}

body {
    display: flex;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    flex-direction: column;
}

.container {
    overflow-y: scroll;
    width: 600px;
    margin: 50px auto 0;
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 隐藏滚动条的样式 */
.container::-webkit-scrollbar {
    display: none;
}

html::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#reviewsContent {
    overflow-y: scroll;
    max-height: 250px;
}

#reviewsContent::-webkit-scrollbar {
    display: none;
}

#reviewsContent {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.input-section {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.title {
    text-align: center;
    color: #333;
}

.review {
    display: flex;
    margin-bottom: 20px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
    margin-right: 10px;
}

.avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.review-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    flex-grow: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.review-title {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.review-text {
    font-size: 14px;
}


.input-section {
    display: flex;
    align-items: center;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.input-section input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-right: 10px;
    outline: none;
    transition: transform 0.3s ease;
}

.input-section input[type="text"]:focus {
    transform: scale(1.05);
}


.input-section input[type="button"] {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    background-color: gray;
    color: white;
    cursor: pointer;
    outline: none;
    transition: all 0.5s ease;
}

.input-section input[type="button"]:hover {
    background-color: white;
    color: black;
    transform: scale(1.1);
}

.button-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
}

.review-button:hover {
    transform: all 0.5s ease;
    background-color: ghostwhite;
    color: black;
    transform: scale(1.05);
}

.review-button {
    display: flex;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: grey;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    flex-direction: column;
    align-items: center;
}

.review-button span:last-child {
    font-size: 10px;
    color: whitesmoke;
}


.review-button:active {
    transform: scale(0.95);
}

/* 评论提示 */
.no-review {
    text-align: center;
    color: #999;
}

.promptBox {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    width: 0;
    height: 0;
    line-height: 40px;
    border-radius: 20px;
    text-align: center;
    z-index: 9999;
    overflow: hidden;
    color: #fff;
}

.chart-section {
    width: 800px;
    height: 350px;
    margin: 0 auto;
}

.chart-section canvas {
    margin-left: 50px;
}

/* 基本的动画样式 */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate__fadeIn {
    animation-name: fadeIn;
}

/* 应用动画到特定元素 */
.container,
.button-section,
.input-section,
.promptBox,
.chart-section {
    animation-name: fadeIn;
    animation-duration: 1s;
}